<?php

class newsBlockWidgetComponents extends myComponents
{
	public function executeRender()
	{
		$this->news = Doctrine::getTable('NewItem')->getLatest($this->getObject());
	}
};